WCPay\WooPay_Tracker A

Total Complexity 71
Dependencies 7
Dependents 2
Total lines 558
Lines of code 298
Logical lines of code 150
Comment lines 169
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
should_enable_tracking()
A
47 14 34
tracks_build_event_obj()
S
49 6 29
ajax_tracks()
S
52 6 25
tracks_record_event()
S
56 6 18
tracks_get_identity()
S
52 5 27
bump_stats()
S
54 5 23
checkout_order_processed()
S
57 4 15
woopay_locations_updated()
S
61 3 12
thank_you_page_view()
S
68 3 7
is_country_tracks_eligible()
S
67 3 7
__construct()
S
56 1 17
maybe_record_wcpay_shopper_event()
S
66 2 8
maybe_record_admin_event()
S
68 2 7
maybe_record_event()
S
70 2 6
ajax_tracks_id()
S
72 2 6
blocks_checkout_start()
S
65 1 10
classic_cart_page_view()
S
69 1 8
blocks_cart_page_view()
S
69 1 8
classic_product_page_view()
S
69 1 8
pay_for_order_page_view()
S
76 1 5
must_save_payment_method_to_platform()
S
69 1 8
classic_checkout_start()
S
65 1 10